Revision c039490c Test/pstreamer_manager_test.c

View differences:

Test/pstreamer_manager_test.c
19 19
	pstreamer_manager_destroy(NULL);
20 20
	pstreamer_manager_destroy(&psm);
21 21

  
22
	psm = pstreamer_manager_new();
22
	psm = pstreamer_manager_new(6000);
23 23

  
24 24
	pstreamer_manager_destroy(&psm);
25 25

  
......
34 34
	ps = pstreamer_manager_create_streamer(NULL, NULL, NULL, NULL);
35 35
	assert(ps == NULL);
36 36

  
37
	psm = pstreamer_manager_new();
37
	psm = pstreamer_manager_new(6000);
38 38

  
39 39
	ps = pstreamer_manager_create_streamer(psm, NULL, NULL, NULL);
40 40
	assert(ps == NULL);
......
62 62
	json = pstreamer_to_json(NULL);
63 63
	assert(json == NULL);
64 64

  
65
	psm = pstreamer_manager_new();
65
	psm = pstreamer_manager_new(6000);
66 66
	ps = pstreamer_manager_create_streamer(psm, "10.0.0.1", "6000", "42");
67 67

  
68 68
	json = pstreamer_to_json(ps);
......
82 82
	res = pstreamer_manager_destroy_streamer(NULL, NULL);
83 83
	assert(res);
84 84

  
85
	psm = pstreamer_manager_new();
85
	psm = pstreamer_manager_new(6000);
86 86
	res = pstreamer_manager_destroy_streamer(psm, NULL);
87 87
	assert(res);
88 88

  

Also available in: Unified diff