blob: 526a5f4779fa518361a00674d9a825dea53f4882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.e1.pdj.test;
import com.cycling74.max.*;
import junit.framework.TestCase;
public class CallbackTest extends TestCase {
public void testArgs() {
Callback callback = new Callback(this, "callme", new Object[] { new Integer[0] });
Integer[] args = new Integer[] { new Integer(1), new Integer(2) };
callback.setArgs((Object[]) args);
callback.execute();
}
public void callme(Integer args[]) {
}
}
|