Disable PS2 build for now as it will break an important branch.
[SquirrelJME.git] / nanocoat / tests / testClassParseConstantPoolConstantNarrow.c
bloba2d4f44d068f6e228378501ab5f3fa6607dbe42c
1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
10 #include <string.h>
12 #include "mock.h"
13 #include "proto.h"
14 #include "test.h"
15 #include "unit.h"
17 /**
18 * Tests narrow constants within the constant pool.
20 * @since 2024/01/01
22 SJME_TEST_DECLARE(testClassParseConstantPoolConstantNarrow)
24 sjme_classBuilder builder;
26 memset(&builder, 0, sizeof(builder));
27 if (sjme_error_is(sjme_classBuilder_build(test->pool,
28 &builder, SJME_JNI_FALSE, test)))
29 return sjme_unit_fail(test, "Failed to initialize class builder.");
31 sjme_todo("Implement %s", __func__);
32 return SJME_TEST_RESULT_FAIL;