blob: a9d1656102311205d877985a0ffdc39fce3ef77d [file] [log] [blame]
Brian O'Connorf3d06162014-10-02 15:54:12 -07001package org.onlab.onos.net.intent;
Thomas Vachuskac96058a2014-10-20 23:00:16 -07002
3import org.onlab.onos.TestApplicationId;
Brian O'Connorf3d06162014-10-02 15:54:12 -07004
5/**
6 * An intent used in the unit test.
Brian O'Connorf3d06162014-10-02 15:54:12 -07007 */
Thomas Vachuskac96058a2014-10-20 23:00:16 -07008public class TestIntent extends Intent {
Brian O'Connorf3d06162014-10-02 15:54:12 -07009 /**
10 * Constructs an instance with the specified intent ID.
11 *
12 * @param id intent ID
13 */
14 public TestIntent(IntentId id) {
Thomas Vachuskac96058a2014-10-20 23:00:16 -070015 super(id, new TestApplicationId("foo"), null);
Brian O'Connorf3d06162014-10-02 15:54:12 -070016 }
17
18 /**
19 * Constructor for serializer.
20 */
21 protected TestIntent() {
22 super();
23 }
24}