aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/tests/design/ParseMixedLegacyAndNewPrefixTest.java
blob: 15142d41bbcc77aae86096207db4cb6da6c3d45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.vaadin.tests.design;

import java.io.ByteArrayInputStream;

import org.junit.Test;

import com.vaadin.ui.declarative.Design;

/**
 * Parse mixed content with legacy and new prefixes (not a required feature but
 * works).
 */
public class ParseMixedLegacyAndNewPrefixTest {
    @Test
    public void parseMixedContent() {
        Design.read(new ByteArrayInputStream(
                "<v-vertical-layout><vaadin-label /></v-vertical-layout>"
                        .getBytes()));
    }
}