Package test

Class TestAggregations

java.lang.Object
test.TestAggregations

public class TestAggregations
extends java.lang.Object
TestAggregations class tests all aggregations.
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static java.lang.String FILENAME  
    private static TestJSONBuilder jsonFactory  
    (package private) static java.util.ArrayList<Satellite> satelliteList  
  • Constructor Summary

    Constructors
    Constructor Description
    TestAggregations()  
  • Method Summary

    Modifier and Type Method Description
    static void cleanUp()
    Clean up function, gets called after all tests.
    static void init()
    Init function, gets called before all tests.
    (package private) void testGerSatellite()
    Tests AGGREGATE_Ger_Satellite.
    (package private) void testRadioChannels()
    Tests AGGREGATE_Ger_Satellite.
    (package private) void testSatelliteChannelsEng()
    Tests AGGREGATE_Satellite_Eng_Channel.
    (package private) void testSatelliteChannelsGer()
    Tests AGGREGATE_Satellite_Ger_Channel.
    (package private) void testSatelliteChannelsHD()
    Tests AGGREGATE_Satellite_Channels_HD.
    (package private) void testSatelliteTransponderCount()
    Tests AGGREGATE_Satellite_Transponder_Count_Channels.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TestAggregations

      public TestAggregations()
  • Method Details

    • init

      @BeforeAll public static void init()
      Init function, gets called before all tests. Creates test JSON file and parses satellite data from it.
    • testGerSatellite

      @Test void testGerSatellite()
      Tests AGGREGATE_Ger_Satellite. Creates expected composite structure and compares them.
    • testRadioChannels

      @Test void testRadioChannels()
      Tests AGGREGATE_Ger_Satellite. Creates expected composite structure and compares them.
    • testSatelliteChannelsHD

      @Test void testSatelliteChannelsHD()
      Tests AGGREGATE_Satellite_Channels_HD. Creates expected composite structure and compares them.
    • testSatelliteChannelsEng

      @Test void testSatelliteChannelsEng()
      Tests AGGREGATE_Satellite_Eng_Channel. Creates expected composite structure and compares them.
    • testSatelliteChannelsGer

      @Test void testSatelliteChannelsGer()
      Tests AGGREGATE_Satellite_Ger_Channel. Creates expected composite structure and compares them.
    • testSatelliteTransponderCount

      @Test void testSatelliteTransponderCount()
      Tests AGGREGATE_Satellite_Transponder_Count_Channels. Creates expected composite structure and compares them.
    • cleanUp

      @AfterAll public static void cleanUp()
      Clean up function, gets called after all tests. Deletes test JSON file.