diff --git a/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java b/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java index dd8edeae428077dbdd5c61704e1e230e96d89cfd..c4fdcc15a17c91f517da687112ce87bff8298940 100644 --- a/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java +++ b/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java @@ -15,13 +15,16 @@ public enum AppointmentTypeCollection { LEVEL_B_BG(new AppointmentType[] { AppointmentType.LEVEL_B, AppointmentType.LEVEL_BG }, // new String[] { "level B + BG" }), // + LEVEL_B_BV(new AppointmentType[] { AppointmentType.LEVEL_B, AppointmentType.LEVEL_BV }, // + new String[] { "level B + BV" }), // + LEVEL_BV_BG_SB_MPOWER( new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB, AppointmentType.LEVEL_B_M_POWER, }, // new String[] { "evel BV + BG + SB + mPower", "BV + BG + SB + mPower" }), // LEVEL_BG_SB_MPOWER( new AppointmentType[] { AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB, AppointmentType.LEVEL_B_M_POWER, }, // - new String[] { "BG + SB + mPower" }), // + new String[] { "level BG + SB + mPower" }), // LEVEL_BV_BG_SB(new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB }, // new String[] { "evel BV + BG + SB", "BV + BG + SB" }), // LEVEL_BV_SB(new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_SB }, // diff --git a/appointment-import/src/test/java/smash/appointment/parse/CellParserTest.java b/appointment-import/src/test/java/smash/appointment/parse/CellParserTest.java index e86d16d2b001220c0d9338a6c6e57bacf1d1d372..757161d3814d0c249bc8391b2ad1e5ccfab30e02 100644 --- a/appointment-import/src/test/java/smash/appointment/parse/CellParserTest.java +++ b/appointment-import/src/test/java/smash/appointment/parse/CellParserTest.java @@ -75,6 +75,14 @@ public class CellParserTest extends TestBase { new CellParseTestCase( "Gawron Piotr level BG + SB + M-Power", piotrGawron, null, new AppointmentType[] { AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB, AppointmentType.LEVEL_B_M_POWER })); + + testCases.add( + new CellParseTestCase("Gawron Piotr level B + BV", piotrGawron, null, new AppointmentType[] { AppointmentType.LEVEL_B, AppointmentType.LEVEL_BV })); + testCases.add( + new CellParseTestCase( + "Gawron Piotr level BG + SB + M-Power", piotrGawron, null, + new AppointmentType[] { AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB, AppointmentType.LEVEL_B_M_POWER })); + } @Test