@Test public void testOptions() { final Set<Option> options = new HashSet<Option>(); jjJobRunner.fillOptions(options); assertTrue( PropertyManagement.hasOption(options, CommonParameters.Common.DISTANCE_FUNCTION_CLASS)); assertTrue(PropertyManagement.hasOption(options, Partition.MAX_MEMBER_SELECTION)); assertTrue(PropertyManagement.hasOption(options, Partition.PARTITION_DISTANCE)); assertTrue(PropertyManagement.hasOption(options, Partition.PARTITIONER_CLASS)); /* * * Should this be part of the test? When options are requested, the * runner does not know the selected partition algorithm. * * assertTrue(PropertyManagement.hasOption( options, * GlobalParameters.Global.CRS_ID)); * * assertTrue(PropertyManagement.hasOption( options, * ExtractParameters.Extract.DIMENSION_EXTRACT_CLASS)); * * assertTrue(PropertyManagement.hasOption( options, * ClusteringParameters.Clustering.GEOMETRIC_DISTANCE_UNIT)); * * assertTrue(PropertyManagement.hasOption( options, * CommonParameters.Common.INDEX_MODEL_BUILDER_CLASS)); * * assertTrue(PropertyManagement.hasOption( options, * ClusteringParameters.Clustering.DISTANCE_THRESHOLDS)); */ }