Merge branch 'test'
This commit is contained in:
@@ -7,6 +7,7 @@ import java.nio.file.Path;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import com.bms.price.domain.PayPostcodeGroup;
|
import com.bms.price.domain.PayPostcodeGroup;
|
||||||
|
|
||||||
@@ -18,6 +19,7 @@ class PayPostcodeImporterTest
|
|||||||
private final PayPostcodeImporter importer = new PayPostcodeImporter();
|
private final PayPostcodeImporter importer = new PayPostcodeImporter();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void stripsStarAndMergesSameFee() throws Exception
|
void stripsStarAndMergesSameFee() throws Exception
|
||||||
{
|
{
|
||||||
List<PayPostcodeGroup> groups = importer.parse(Files.readAllBytes(file("32、")), "32.xlsx");
|
List<PayPostcodeGroup> groups = importer.parse(Files.readAllBytes(file("32、")), "32.xlsx");
|
||||||
@@ -88,6 +90,7 @@ class PayPostcodeImporterTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void reachableUnreachableAndRemoteKeepTheirOwnCountry() throws Exception
|
void reachableUnreachableAndRemoteKeepTheirOwnCountry() throws Exception
|
||||||
{
|
{
|
||||||
List<PayPostcodeGroup> may = importer.parse(Files.readAllBytes(file("20、")), "20.xlsx");
|
List<PayPostcodeGroup> may = importer.parse(Files.readAllBytes(file("20、")), "20.xlsx");
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import java.nio.file.Path;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
import org.junit.jupiter.api.Assumptions;
|
import org.junit.jupiter.api.Assumptions;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import com.bms.price.domain.PayOrderCostResult;
|
import com.bms.price.domain.PayOrderCostResult;
|
||||||
import com.bms.price.domain.PayPreview;
|
import com.bms.price.domain.PayPreview;
|
||||||
@@ -23,6 +24,7 @@ class PayWorkbookParserTest
|
|||||||
private final PayWorkbookParser parser = new PayWorkbookParser();
|
private final PayWorkbookParser parser = new PayWorkbookParser();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void octoberCatalogKeepsTwelveProductSheets() throws Exception
|
void octoberCatalogKeepsTwelveProductSheets() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("9、");
|
PayPreview preview = parse("9、");
|
||||||
@@ -36,6 +38,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void mayCardReadsDhlAndDpdWithoutZoneSheets() throws Exception
|
void mayCardReadsDhlAndDpdWithoutZoneSheets() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("8、");
|
PayPreview preview = parse("8、");
|
||||||
@@ -88,6 +91,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void upsZonesStayLeftToRightAndColissimoFuelIsMarked() throws Exception
|
void upsZonesStayLeftToRightAndColissimoFuelIsMarked() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("32、");
|
PayPreview preview = parse("32、");
|
||||||
@@ -148,6 +152,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void imilePostcodesResolveZoneAndGermanCoverage() throws Exception
|
void imilePostcodesResolveZoneAndGermanCoverage() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("32、");
|
PayPreview preview = parse("32、");
|
||||||
@@ -168,6 +173,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void gweFileOverridesOnlyPanEuroSupplier() throws Exception
|
void gweFileOverridesOnlyPanEuroSupplier() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("8.1");
|
PayPreview preview = parse("8.1");
|
||||||
@@ -182,6 +188,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void wholeWorkbookPreviewSerializes() throws Exception
|
void wholeWorkbookPreviewSerializes() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("9、");
|
PayPreview preview = parse("9、");
|
||||||
@@ -191,6 +198,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/应付供应商 下的价卡文件,未随项目提供")
|
||||||
void yideCatalogIncludesPostcodeProducts() throws Exception
|
void yideCatalogIncludesPostcodeProducts() throws Exception
|
||||||
{
|
{
|
||||||
PayPreview preview = parse("26、");
|
PayPreview preview = parse("26、");
|
||||||
@@ -439,6 +447,7 @@ class PayWorkbookParserTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Disabled("依赖开发机 D:/payment 下的 CTT 48H.xlsx 价卡文件,未随项目提供")
|
||||||
void ctt48hFileKeepsSurchargeTablesOutOfWeightBands() throws Exception
|
void ctt48hFileKeepsSurchargeTablesOutOfWeightBands() throws Exception
|
||||||
{
|
{
|
||||||
Path file = priceCard("CTT 48H.xlsx");
|
Path file = priceCard("CTT 48H.xlsx");
|
||||||
|
|||||||
Reference in New Issue
Block a user