Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 7951e5a6

Přidáno uživatelem Michal Horký před více než 4 roky(ů)

Úprava pro funční testování

Zobrazit rozdíly:

demo_mh/Deserializer/src/deserialize/Deserializer.java
35 35
	@Override
36 36
	public void init() throws Exception {
37 37
		super.init();
38
		testing = false;
38
		testing = true;
39 39
	}
40 40
	
41 41
	@Override
......
91 91
		
92 92
		Button convert = new Button("P?ev?st");
93 93
		convert.setOnAction(event -> {
94
			ToJSON thread = new ToJSON(testing ? new File("data.out") : this.inputFile, this.outputFile);
94
			ToJSON thread = new ToJSON(testing ? new File("data.out") : this.inputFile, testing ? new File("results.json") : this.outputFile);
95 95
			thread.start();
96 96
		});
97 97
		convert.setDisable(!testing);

Také k dispozici: Unified diff